package groupManagement;

import java.util.TimerTask;

//remove user if an I'm alive message was not received in 30 seconds.
public class UserTimer extends TimerTask {
	private String userName;
	public UserTimer(String userName){
		this.userName=userName;
	}
	@Override
	public void run() {
		User.removeUser(userName);
	}
}
